package com.mgang.web.controller;

import java.util.Date;

import com.jfinal.core.Controller;
/**
 * 
 * @author meigang 2014-12-9 18:36
 * Hello JFinal 的Controller
 *
 */
public class HelloJFinalController extends Controller{
	
	public void index(){
		render("/index.jsp");
	}
	
	public void hello(){
		renderText("hello jfinal "+new Date());
	}
	
	public void fclient(){
		render("/fclient/index.html");
	}
	
	public void bclient(){
		setAttr("from", "back client");
		render("/bclient/index.jsp");
	}
}
